package src.Thread_per_message;

/**
 * Created by 58 on 2016/3/29.
 */
public class Host {
    private Helper helper = new Helper();

    public void request(final int count, final char c) {
        System.out.println("    request(" + count + ", " + c + ") BEGIN");
        new Thread(new Runnable() {
            public void run() {
                helper.handler(count, c);
            }
        }).start();
        System.out.println("    request(" + count + ", " + c + ") END");
    }
}
